package www.openteam.com.contract.business;

import www.openteam.com.bean.ApprovalStatu;
import www.openteam.com.bean.CustomOrder;

/**
 * Created by kylin on 2017/7/12.
 */

public class QueryCustomOrderInfoContract {


    public interface QueryCustomOrderInfoPresenter {
        void queryCustomOrderInfo(String rdsno,
                                  String custid,
                                  int pageSize);

        void updateCustomOrderMainInfo(
                int id, String rdsno,
                String custid, String userid,
                String moneytype, String paytime
                , String sendtype, String custorderid
                , String alreadlypay, String inputdate
                , String inputer, String orderamount
                , String remark, String orderdate
                , String sendaddress, String istax
                , String taxrate, String invtype
                , String stype
        );
        void insertCustomOrderMainInfo(
                String custid, String businessno,
                String userid,
                String moneytype, String paytime
                , String sendtype, String custorderid
                , String alreadlypay, String inputdate
                , String inputer, String orderamount
                , String remark, String orderdate
                , String sendaddress, String istax
                , String taxrate, String invtype
                , String stype
        );
    }

    public interface QueryCustomOrderInfoView {

        String getCustid();

        String getRdsno();

        void loadCOIData(CustomOrder customOrder);

        void hideCOIData(Throwable throwable);

        void updateCOIData(ApprovalStatu updateState);

        void insertCOIData(ApprovalStatu updateState);


    }

}
